namespace web {
    export class ewe {
    }
    export namespace ewe {
        console.log(111);
        ffi.cdef(
            `
             int wkeCreateWindow( int hParent );
             int wkeGetFromWindow( int hwnd );
             int wkeGetWebView( int wke );
             void  wkeLoadHTML(int webView, const wchar_t* html);
             int wkeGetHostWindow(int webWindow);
             wchar_t* Utf8StringToWkeChar( const char*  );
            `
        )
        export let dll = ffi.load("ewe");
        export let wkeCreateWindow = dll.wkeCreateWindow as (this: void, hParent: any) => any;
        export let wkeGetFromWindow = dll.wkeGetFromWindow as (this: void, hwnd: any) => any;
        export let wkeGetWebView = dll.wkeGetWebView as (this: void, wke: any) => any;
        export let wkeGetHostWindow = dll.wkeGetHostWindow as (this: void, webWindow: any) => any;
        export let wkeLoadHTML = dll.wkeLoadHTML as (this: void, webView: any, str: string) => any;
        export let utf8StringToWkeChar = dll.Utf8StringToWkeChar as (this: void, str: string) => any;
    }

}